﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ForeignLanguageList.aspx.cs" Inherits="BOH.DataManagement.ForeignLanguageList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
        <link href="../style/css.css" type="text/css" rel="Stylesheet" />
    <script src="../js/jquery-1.3.2.js" type="text/javascript"></script>
    <script src="../js/common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="divNavigation">
       当前位置:<a href="OverView.aspx" target="frameControl">后台数据管理</a> >> 外语种类列表
    </div>
    <div id="bodyDiv">
        <div id="divSearch">
        <a href="ForeignLanguageModify.aspx" target="frameControl">添加新的外语种类</a>
        </div>
    </div>
    <div id="divGrid">
      <asp:GridView ID="ForeignLanguageViewList" runat="server" AutoGenerateColumns="False"  Width="98%"
            CssClass="Grid">
            <Columns>
                <asp:TemplateField HeaderText="外语名称">
                    <ItemTemplate>
                        <asp:Label ID="LanguageName" Text='<%#Eval("ForeignLanguageName") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="编号">
                    <ItemTemplate>
                        <asp:Label ID="LanguageCode" Text='<%#Eval("ForeignLanguageid") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="状态">
                    <ItemTemplate>
                        <asp:Label ID="LanguageStatus" Text='<%#getStatus(Eval("status").ToString()) %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField  HeaderText ="修改" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="120px">
                    <ItemTemplate>
                        <a  href='ForeignLanguageModify.aspx?ID=<%#Eval("ForeginID") %>'  target="frameControl">修改</a> 
                        &nbsp;
                        <a href='ForeignLanguageList.aspx?ID=<%#Eval("ForeginID")%>' onclick='return ConfimDelete()'>删除</a>
                    </ItemTemplate>
                    <ItemStyle  Width="120px" HorizontalAlign="Center"/>
                </asp:TemplateField>
            </Columns>
            <AlternatingRowStyle CssClass="ARow" />
        </asp:GridView>
    </div>
    </form>
</body>
</html>
